package com.zcl.javaClassAndObject.多样性.上溯造型;

/**
 * @Description:
 * @author: zcl
 * @date: 2021/12/10  14:18
 */
public class Note {
    private int value;
    private Note(int val) { value = val; }
    public static final Note
            middleC = new Note(0),
            cSharp = new Note(1),
            cFlat = new Note(2);

}
